<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>houdunren.com</title>
  </head>
  <body></body>
  <script>
    // let array = ["hdcms", "houdunren"];
    // let hd = ["shop", "cms"];
    // let length = array.push("live", ...hd);
    // console.log(length);
    // console.table(array);
    // array.push("shop", "php", "js", "node.js");
    // console.table(array);
    // let hd = ["shop", "cms"];
    // array = [...array, ...hd];
    // console.log(array);

    // array[array.length] = "cms";
    // array[array.length] = "shop";
    // console.table(array);

    function rangeArray(begin, end) {
      const array = [];
      for (let i = begin; i <= end; i++) array.push(i);
      return array;
    }
    console.table(rangeArray(11, 15));
  </script>
</html>
